from urllib.request import urlopen
from io import StringIO
import csv

open = urlopen("http://pythonscraping.com/files/MontyPythonAlbums.csv").read().decode('ascii','ignore')
destFile = StringIO(open)
dictReader = csv.DictReader(destFile)

print(dictReader.fieldnames)
fieldNames = dictReader.fieldnames

# for row in dictReader:
#     for key in dictReader.fieldnames:
#         print(row.get(key))

for row in dictReader:
    for key in fieldNames:
        print(row.get(key),end=' , ')
    print("")